package com.leetcode.LC;

import java.util.Arrays;

public class LC1385 {
    public int findTheDistanceValue(int[] arr1, int[] arr2, int d) {

        int count = arr1.length;
        for (int i : arr1) {
            for (int i1 : arr2) {
                if (Math.abs(i - i1) <= d) {
                    count--;
                    break;
                }
            }
        }
        return count;
    }
}
